//app.js
App({
  onLaunch: function () {
    var that = this
    //  console.log(this.globalData.fileUrl)
    wx.getStorage({
      key: 'xcxOpenIdStorage',
      success: function (res) {
        that.globalData.xcxOpenId = res.data
      }
    })
    wx.getStorage({
      key: 'userInfoStorage',
      success: function (res) {
        that.globalData.userInfo = res.data
      }
    })
  },
  globalData: {
    userInfo: null,
    fileUrl:'http://120.24.247.198:9099/wx/api/v1',
    // baseUrl:'https://www.banmapc.cn/wx/api/v1',
    // baseUrl: 'http://120.24.247.198:9099/wx/api/v1',
    baseUrl:'http://120.24.247.198:9099/wx/api/v1',  // 测试服务器
    // baseUrl:'http://10.10.10.119:9099/wx/api/v1', // 李娟
    // baseUrl:'http://10.10.10.147:9099/wx/api/v1', // 唐由之
    xcxOpenId: ''
  }
})